<?php
namespace app\services\ai\traits\qq;

trait NaturalLanguage
{
    public function textChat($options)
    {
        return $this->request(self::POST, self::API_NLP_TEXTCHAT, $this->parseOptions([
            'session' => str_random(32),
            'question' => $options['question'] ?? '',
        ]));
    }
}